package com.excellent.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.excellent.common.annotation.Excel;
import com.excellent.common.core.domain.BaseEntity;

/**
 * 周报管理对象 sys_news
 *
 * @author excellent
 * @date 2021-06-30
 */
public class SysNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 周报序号 */
    private Long id;

    /** 实践环节类型 */
    @Excel(name = "实践环节类型")
    private String task;

    /** 第几次周报 */
    @Excel(name = "第几次周报")
    private Long num;

    /** 截止日期 */
    @Excel(name = "截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadtime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTask(String task)
    {
        this.task = task;
    }

    public String getTask()
    {
        return task;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }
    public void setDeadtime(Date deadtime)
    {
        this.deadtime = deadtime;
    }

    public Date getDeadtime()
    {
        return deadtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("task", getTask())
            .append("num", getNum())
            .append("deadtime", getDeadtime())
            .toString();
    }
}
